package fivestar.model.entity;
 
import java.util.Date;
import java.util.HashSet;
import java.util.Set;
 
public class Guest implements java.io.Serializable {
 
	private static final long serialVersionUID = 1L;
	private String dni;
	private Address address;
	private String firstName;
	private String lastName;
	private Date birthDate;
	private String fullName;
	private Character sex;
	private String email1;
	private String email2;
	private String nickname;
	private String password;
	private boolean active;
	private String charge;
	private String photo;
	private Date createDate;
	private Date lastUpdate;
	private Set invoices = new HashSet(0);
	
	public Guest() {
	}

	public Guest(String dni, Address address, String firstName,
			String lastName, boolean active, Date createDate, Date lastUpdate) {
		this.dni = dni;
		this.address = address;
		this.firstName = firstName;
		this.lastName = lastName;
		this.active = active;
		this.createDate = createDate;
		this.lastUpdate = lastUpdate;
	}

	public Guest(String dni, Address address, String firstName,
			String lastName, Character sex, String email1, String email2,
			String nickname, String password, boolean active, String charge,
			String photo, Date createDate, Date lastUpdate, Set invoices) {
		this.dni = dni;
		this.address = address;
		this.firstName = firstName;
		this.lastName = lastName;
		this.sex = sex;
		this.email1 = email1;
		this.email2 = email2;
		this.nickname = nickname;
		this.password = password;
		this.active = active;
		this.charge = charge;
		this.photo = photo;
		this.createDate = createDate;
		this.lastUpdate = lastUpdate;
		this.invoices = invoices;
	}

	public String getDni() {
		return this.dni;
	}

	public void setDni(String dni) {
		this.dni = dni;
	}

	public Address getAddress() {
		return this.address;
	}

	public void setAddress(Address address) {
		this.address = address;
	}

	public String getFirstName() {
		return this.firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getLastName() {
		return this.lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public Character getSex() {
		return this.sex;
	}

	public void setSex(Character sex) {
		this.sex = sex;
	}

	public String getEmail1() {
		return this.email1;
	}

	public void setEmail1(String email1) {
		this.email1 = email1;
	}

	public String getEmail2() {
		return this.email2;
	}

	public void setEmail2(String email2) {
		this.email2 = email2;
	}

	public String getNickname() {
		return this.nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public boolean isActive() {
		return this.active;
	}

	public void setActive(boolean active) {
		this.active = active;
	}

	public String getCharge() {
		return this.charge;
	}

	public void setCharge(String charge) {
		this.charge = charge;
	}

	public String getPhoto() {
		return this.photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}

	public Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getLastUpdate() {
		return this.lastUpdate;
	}

	public void setLastUpdate(Date lastUpdate) {
		this.lastUpdate = lastUpdate;
	}

	public Set getInvoices() {
		return this.invoices;
	}

	public void setInvoices(Set invoices) {
		this.invoices = invoices;
	}

	public String getFullName() {
		return fullName;
	}

	public void setFullName(String fullName) {
		this.fullName = fullName;
	}

	public Date getBirthDate() {
		return birthDate;
	}

	public void setBirthDate(Date birthDate) {
		this.birthDate = birthDate;
	} 

}
